<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@page import="java.util.*,com.aq.model.*,com.hs.utils.*" %>
<%@ taglib prefix="s" uri="/struts-tags" %> 
<s:include value="../include.jsp"></s:include>
<%
String pageStr = request.getAttribute("pageStr")+"";
List list = (List)request.getAttribute("dataList");
 %>
<html>
<META http-equiv=pragma content=no-cache>
<META content="" name=Author>
<META content="" name=Keywords>
<META content="" name=Description>  
<head></head>
<body>
<form name="form1" action="" method="post">
<table cellSpacing=0 align=right cellPadding=0 border=0>
<tr>
<td>
<table   cellSpacing=0 align=right cellPadding=0 border=0 valign=top>
<tr>
<td><input name="button" type="button" class="buttom"  onclick="addIndex();" value="新增"></td>
<td><input name="button" type="button" class="buttom" onclick="deleteIndex();" value="编辑"></td>
<td><input name="button" type="button" class="buttom" onclick="indexAll();" value="删除"></td>
<td></td>
</tr>
</table>
</td>
</tr>
<tr heigth="5px"><td><br></td></tr>
<tr>
<td>
<DIV class=tab>
<TABLE style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all; TEXT-ALIGN: justify" width=100% cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR class=top>
   <TD width=3%>序号</TD> 
    <TD width=3%>产品序号</TD> 
     <TD width=20%>产品名称</TD> 
    <TD width=20%>产品类别</TD> 
    <TD width=10%>发布人</TD> 
    <TD width=15%>发布时间</TD> 
    <TD width=10%>审核状态</TD> 
    <TD width=10%>点击</TD> 
    </TR>  
       <%
   if(null != list && list.size() >0){
   int size = list.size();
   for(int i=0;i<size;i++){
    	AqProduct product =(AqProduct)list.get(i);
   %>
  <TR align=center bgColor=<%if(i%2 == 0){out.println("#fffbff");}else{out.println("#eef1f9");} %>>
    <TD><FONT color=#ff3300><%=i+1 %></FON/></TD>
    <TD class=title><input type="checkbox" value="<%=product.getProductid()%>" name="preId">Utilities.null2Blank(<%=product.getProductCode()) %></TD> 
    <TD><%=Utilities.null2Blank(product.getProductName()) %></TD>
    <TD><%=Utilities.null2Blank(product.getProductSpec()) %></TD>
    <TD><%=Utilities.null2Blank(product.getPublishUser()) %></TD>
    <TD><%=Utilities.null2Blank(product.getPublishDate()) %></TD>
    <TD><%=Utilities.null2Blank(product.getIsAudit()) %></TD>
    <TD><%=Utilities.null2Blank(product.getHits()) %></TD> 
     
  </TR> 
    <%}}else{ %>
    <TR align=middle bgColor="#eef1f9">
    <TD colspan=8 align="center"><FONT color=red>没有数据</FON/></TD> 
  </TR>  
  <%} %>
    
  </TBODY></TABLE>
  </DIV>
  </td>
  </tr> 
  <tr>
<td>
 
 </td>
  </tr> 
 
</table>
</form>
<DIV class=clear></DIV>
</BODY></HTML>
